<template>
  <div width="100%" height="100vh">
    <van-nav-bar
      style="background:rgb(50, 150, 250)"
      title="视频"
      left-arrow
      @click-left="onClickLeft"
    />
    <iframe
      src="https://m.ixigua.com/"
      frameborder="0"
      width="100%"
      height="750px"
      class="iframe"
    ></iframe>
  </div>
</template>

<script>
export default {
  methods: {
    onClickLeft () {
      console.log('我被点击了嘛')
      this.$router.back()
    }
  }
}
</script>

<style lang="less" scoped>
/deep/ .van-nav-bar .van-icon {
  color: #ffffff;
}
/deep/ .van-nav-bar__title.van-ellipsis {
  color: white;
}
iframe {
  margin-top: -52px;
}
</style>
